package spring.cloud.eurekaclientproduct.config;

import config.FundConfiguration;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;

//局部配置类 指向上一层的 FundConfiguration配置类
//通过该注解进行针对单个微服务，进行配置类的指定
@RibbonClient(name = "FUND",configuration = FundConfiguration.class)
//多个微服务指定配置方案
//@RibbonClients(value = {
//        @RibbonClient(name = "FUND",configuration = FundConfiguration.class),
//        @RibbonClient(name = "USER",configuration = FundConfiguration.class),
//    },
//        defaultConfiguration = FundConfiguration.class
//)
public class LocalConfiguration {
}
